package readWirteExcel;

import model.ApiConfigDataModel;
import model.ApiDataModel;

import java.util.ArrayList;

/**
 * Created by yangxianming on 2015-06-08.
 */
public class ApiGroup {
    String fileName = "";
    ReadExcelApi readExcelApi = null;

    public ApiGroup(String projectDir, String fileName){
        this.fileName = fileName;
        readExcelApi = new ReadExcelApi(projectDir, fileName);
    }

    public ApiConfigDataModel getConfigData(){
        return readExcelApi.getConfigData(readExcelApi);
    }

    public ArrayList<ApiDataModel> getApiList(ApiConfigDataModel acdm){
        return readExcelApi.getApiList(readExcelApi, acdm);
    }

}
